<?php
require $this->__RAD__ . 'include/head.php';
?>
<body>
<?php require $this->__RAD__ . 'include/header.php';?>

<div class="crumbs">
    <div class="wrapper">
        <p><?= $this->getBreadcrumb ?><img src="/assets/static/images/sj.png"><span><?= $this->title ?></span></p>
    </div>
</div>
<div class="product-detail contact">
    <div class="wrapper clearfix">
        <div class="pro-img">
            <img src="<?= $this->__CDN__ . 'pics/l/' . $this->cover ?>" class="demo-img light-zoom">
        </div>

        <div class="pro-con">
            <h3><?= $this->title ?></h3>
            <table>
                <tr>
                    <td>CAS No：</td>
                    <td><?= $this->cas ?></td>
                </tr>
                <tr>
                    <td>分子式：</td>
                    <td><?= $this->formula ?></td>
                </tr>
                <tr>
                    <td>状态：</td>
                    <td><?= $this->state ?></td>
                </tr>
                <tr>
                    <td>备注：</td>
                    <td><?= $this->remarks ?></td>
                </tr>
            </table>

            <?php
            if ($this->attachment):
            ?>
<!--            <a download href="--><?//= $this->__CDN__ . 'pics/l/' . $this->attachment ?><!--">PDF文档下载<img src="--><?//= $this->__STATIC__?><!--images/icon12.png" class="show"><img src="--><?//= $this->__STATIC__?><!--images/icon122.png" class="hide"></a>-->
            <?php
            endif;
            ?>
            <a href="/message-board">联系我们</a>
        </div>
    </div>
    <div class="page-local">
        <div class="wrapper clearfix">
            <?= $this->getPrevNext ?>
            <a href="/<?= $this->list_dir?>" class="return"><img src="<?= $this->__STATIC__?>images/fh.png" class="show"><img src="<?= $this->__STATIC__?>images/fh01.png" class="hide">返回</a>
        </div>
    </div>
</div>
<?php require $this->__RAD__ . 'include/footer.php';?>
</body>
</html>
<script type="text/javascript" src="<?= $this->__STATIC__?>js/common.js"></script>
<script type="text/javascript" src="<?= $this->__STATIC__?>js/lightzoom.js"></script>
<!--<script type="text/javascript" src="--><?//= $this->__STATIC__?><!--js/blowup.min.js"></script>-->
<!--<script>-->
<!--    $(function () {-->
<!--        $(".demo-img").blowup({-->
<!--            background : "#FCEBB6",-->
<!--            width:"150",-->
<!--            height:"150"-->
<!--        });-->
<!--    })-->
<!--</script>-->
<script type="text/javascript">
    $(document).ready(function () {
        $('img.light-zoom').lightzoom({
            zoomPower   : 3,
            glassSize   : 180
        });
    });
</script>